package com.company.psm.service;

import java.util.List;

import com.company.psm.entity.User;

public interface UserManagement {
	public List<User> getAllUser();
	public void updateUser(String userId,String fullname, String userName,String pass, String roleId ,String email);
	public void addUser(String userName,String fullname,String password, String roleId , String email, String storeId);
	public List<User> search(String userName);
	public List<User> searchRole(String roleId,String storeId);
	public void deleteUser(long userId);
	public User getUserById(long userId);
	public User getUserByAccount(String account);
	public List<User> getAllStoreUser(String storeId);
	public List<User> getAllStoreUserByRole(long storeId, String role);
}
